type math/rand.lockedSource
12 uses
math/rand (current package)
rand.go#L86: if lk, ok := r.src.(*lockedSource); ok {
rand.go#L274: case *lockedSource:
rand.go#L327: r = New(new(lockedSource))
rand.go#L399: if _, ok := orig.src.(*lockedSource); ok {
rand.go#L412: r := New(new(lockedSource))
rand.go#L499: type lockedSource struct {
rand.go#L504: func (r *lockedSource) Int63() (n int64) {
rand.go#L511: func (r *lockedSource) Uint64() (n uint64) {
rand.go#L518: func (r *lockedSource) Seed(seed int64) {
rand.go#L525: func (r *lockedSource) seedPos(seed int64, readPos *int8) {
rand.go#L534: func (r *lockedSource) seed(seed int64) {
rand.go#L543: func (r *lockedSource) read(p []byte, readVal *int64, readPos *int8) (n int, err error) {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |